<!-- Testing page used in ClearSiteDataThrottleTest. -->

<html>
  <head>
  </head>
  <body>
    <img id="some_resource" />

    <script>
      // Set up a service worker to handle future requests. 
      navigator.serviceWorker.register('/?file=worker.js')
          .then(() => navigator.serviceWorker.ready)
          .then(() => {
            // Inform the C++ side of this test that the worker
            // is now registered.
            document.title = 'service worker is ready';
            console.log('Service worker is ready.');
          });
    </script>
  </body>
</html>
